package cn.edu.cimv.service;

import cn.edu.cimv.dao.entity.Cata;
import cn.edu.cimv.dao.entity.Menu;
import cn.edu.cimv.pojo.Catalogue;
import cn.edu.cimv.pojo.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by 门铎 on 2016/6/24.
 */
public interface ContentService {
    //检查对应单页面存在不存
    int checkCataIsExisting(String name);
    //新建
    void newCata(String name,String content);
    Cata getCata(String name);
    Menu getMenu(String name);
    void updateCata(String name,String content);
    Map<Integer,List<Menu>> getMenuList(String roleId);
}
